<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2018/6/7
 * Time: 10:31
 */

use app\zyhsapi\model\ZyhsConfig;
use think\Env;

$wechatConfig = (new ZyhsConfig())->configInfo('wechat');

// 微信相关配置
return [
    'wechat_appid' => $wechatConfig['wechat_appid'],
    'wechat_appsecret' => $wechatConfig['wechat_appsecret'],
    'mp_appid' => $wechatConfig['mp_appid'],
    'mp_secret' => $wechatConfig['mp_secret'],
    'mini_appid' => $wechatConfig['mini_appid'],
    'mini_appsecret' => $wechatConfig['mini_appsecret'],
    'miniprogram_state' => 'developer',//developer为开发版；trial为体验版；formal为正式版；默认为正式版
];
